package com.raptor.trustworthy.server.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 上传相关常量
 *
 * @Author renhuan
 * @Date 2021-05-15 13:59
 **/
@Component
@ConfigurationProperties(prefix = "upload")
public class UploadProperties {

  //本机临时文件存贮地址
  private String localFilePath;

  //要上传的地址
  private String remotePath;

  //要上传的ip
  private String uploadSftpHomeName;

  //要上传的port
  private int uploadSftpPort;

  //要上传的username
  private String uploadSftpUserinfo;

  //要上传的password
  private String uploadSftpPassword;

  private String uploadPathSeparator;

  public String getLocalFilePath() {
    return localFilePath;
  }

  public void setLocalFilePath(String localFilePath) {
    this.localFilePath = localFilePath;
  }

  public String getRemotePath() {
    return remotePath;
  }

  public void setRemotePath(String remotePath) {
    this.remotePath = remotePath;
  }

  public String getUploadSftpHomeName() {
    return uploadSftpHomeName;
  }

  public void setUploadSftpHomeName(String uploadSftpHomeName) {
    this.uploadSftpHomeName = uploadSftpHomeName;
  }

  public int getUploadSftpPort() {
    return uploadSftpPort;
  }

  public void setUploadSftpPort(int uploadSftpPort) {
    this.uploadSftpPort = uploadSftpPort;
  }

  public String getUploadSftpUserinfo() {
    return uploadSftpUserinfo;
  }

  public void setUploadSftpUserinfo(String uploadSftpUserinfo) {
    this.uploadSftpUserinfo = uploadSftpUserinfo;
  }

  public String getUploadSftpPassword() {
    return uploadSftpPassword;
  }

  public void setUploadSftpPassword(String uploadSftpPassword) {
    this.uploadSftpPassword = uploadSftpPassword;
  }

  public String getUploadPathSeparator() {
    return uploadPathSeparator;
  }

  public void setUploadPathSeparator(String uploadPathSeparator) {
    this.uploadPathSeparator = uploadPathSeparator;
  }
}
